package com.liuhaha.subject.domain.convert;

import com.liuhaha.subject.domain.entity.SubjectInfoBO;
import com.liuhaha.subject.infra.basic.entity.SubjectBrief;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author liuhaha
 * @version 1.0
 * @date 2024-05-15 00:11
 */
@Mapper
public interface BriefSubjectConverter {

    BriefSubjectConverter INSTANCE = Mappers.getMapper(BriefSubjectConverter.class);

    SubjectBrief convertBoToEntity(SubjectInfoBO subjectInfoBO);

}
